<html>
  <head>
    <style type="text/css" media="all"><!-- @import url("css.css"); --></style>
    <script type="text/javascript">
    function getQuerystring(key) {
      var qs = document.location.search;
      if (qs.length > 0) {
        qs = qs.substring(1);
      }
      var keys = qs.split("&");
      for (var k in keys) {
        var pair = keys[k].split("=", 2);
        if (pair[0] == key) {
          return pair[1];
        }
      }
      return "";
    }
    
    function setLink(link, planName) {
      var planLink = document.getElementById("planLink");
      planLink.setAttribute("href", link);
      planLink.innerHTML = "Plan " + planName + " failed - click here to view the build results";
    }
    </script>
  </head>
  <body onload="setLink(getQuerystring('link'), getQuerystring('planName'));" class="Failing">
    <p style="text-align: center;"><a id="planLink"  target="_blank" onclick="window.close();" style="color: black; font-family: sans-serif; font-size: large;"></a></p>
  </body>
</html>